package lsy.redis001.lsyredis001.service;

import lsy.redis001.lsyredis001.common.entity.PageResult;
import lsy.redis001.lsyredis001.entity.Article;

public interface ArticleService {
    Long addArticle(Article atricle);

    void editArticleTitle(Long id,String title);

    Article getOne(Long id);

    PageResult<Article> listPage(Long startPage, Long pageNum);

    Boolean deleteArticle(Long id);
}
